const redirect = { 
    path: '/index/clue', 
    redirect: '/index/clue/myClue'
} // 访问路由重定向
const pagePath = {
    path: '/index/clue',
    component: import('@/views/clue/Clue.vue'),
    name: 'Clue',
    children: [
        {
            path: '/index/clue/myClue',
            component: import('@/views/clue/MyClue/MyClue.vue'),
            name: 'MyClue'
        },
        {
            path: '/index/clue/allClue',
            component: import('@/views/clue/AllClue/AllClue.vue'),
            name: 'AllClue'
        },
        {
            path: '/index/clue/CluePool',
            component: import('@/views/clue/CluePool/CluePool.vue'),
            name: 'CluePool'
        },
        {
            path: '/index/clue/Channel',
            component: import('@/views/clue/Channel/Channel.vue'),
            name: 'Channel'
        },
        {
            path: '/index/clue/RecycleBin',
            component: import('@/views/clue/RecycleBin/RecycleBin.vue'),
            name: 'RecycleBin'
        },
        {
            path: '/index/clue/Setting',
            component: import('@/views/clue/Setting/Setting.vue'),
            name: 'ClueSetting'
        }
    ]
} // 访问路由路径
const parent = '/index'
const levelOne = false // 是否是一级路由
const clueRouter = {
    redirect,
    pagePath,
    parent,
    levelOne
}
export {
    clueRouter
}